package com.myblog.constant;

public interface RedisHashKey {
    //总访客量，用作StringUtil.VISITOR的hashkey
    public static final String TOTAL_VISITOR = "totalVisitor";
    //昨日访客总量,用作StringUtil.VISITOR的hashkey
    public static final String YESTERDAY_TOTAL_VISITOR = "yesterdayVisitor";
    //除article外的访问量，用作StringUtil.VISITOR的hashkey
    public static final String VOLUME_VISITOR = "visitorVolume";
    //用户数量常量，用作仪表盘的hashkey
    public static final String ALL_USER = "allUser";
    //文章数量常量，用作仪表盘的hashkey
    public static final String ARTICLE_NUM="articleNum";
    //文章总点赞数
    public static final String ARTICLE_LIKE_NUM="articleThumbsUpNum";
    //用户总未读信息
    public static final String ALL_USER_NEWS = "allNewsNum";
    //用户总未读信息
    public static final String COMMENT_NEW_NUM = "commentNum";
    //用户总未读信息
    public static final String LEAVE_NEW_NUM = "leaveMessageNum";


    //redis存活时间
    public static final Integer REDIS_SURVIVE_TIME = 60*30;
}
